Skip to content

Comments

Implement uniad#1758

Open
ooe1123 wants to merge 23 commits intomasterfrom
uniad
Open

Implement uniad#1758
ooe1123 wants to merge 23 commits intomasterfrom
uniad

Conversation

@ooe1123
Copy link
Contributor

@ooe1123 ooe1123 commented Dec 18, 2025

@kyakuno
Copy link
Collaborator

kyakuno commented Dec 25, 2025

モデルアップロード済み。

@kyakuno
Copy link
Collaborator

kyakuno commented Dec 26, 2025

macOSだとnuscenes-devkitが依存しているmatplotlibが入らない。

Collecting matplotlib<3.6.0 (from nuscenes-devkit==1.1.11->-r requirements.txt (line 3))
  Using cached matplotlib-3.5.3.tar.gz (35.2 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [60 lines of output]
      /private/var/folders/_5/1td0d93j50j3h3l13x3tbczm0000gn/T/pip-install-f1uqvbk1/matplotlib_9124c5369fe645bb80e5d6e845151831/setup.py:70: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
      !!
      
              ********************************************************************************
              Please remove any references to `setuptools.command.test` in all supported versions of the affected package.
      
              This deprecation is overdue, please update your project and remove deprecated
              calls to avoid build errors in the future.
              ********************************************************************************
      
      !!
        class NoopTestCommand(setuptools.command.test.test):
      /opt/homebrew/lib/python3.12/site-packages/setuptools/__init__.py:92: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
      
              This deprecation is overdue, please update your project and remove deprecated
              calls to avoid build errors in the future.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 35, in <module>
        File "/private/var/folders/_5/1td0d93j50j3h3l13x3tbczm0000gn/T/pip-install-f1uqvbk1/matplotlib_9124c5369fe645bb80e5d6e845151831/setup.py", line 273, in <module>
          setup(  # Finally, pass this all along to setuptools to do the heavy lifting.
        File "/opt/homebrew/lib/python3.12/site-packages/setuptools/__init__.py", line 115, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 148, in setup
          _setup_distribution = dist = klass(attrs)
                                       ^^^^^^^^^^^^
        File "/opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py", line 321, in __init__
          _Distribution.__init__(self, dist_attrs)
        File "/opt/homebrew/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 309, in __init__
          self.finalize_options()
        File "/opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py", line 783, in finalize_options
          for ep in sorted(loaded, key=by_order):
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/homebrew/lib/python3.12/site-packages/setuptools/dist.py", line 782, in <lambda>
          loaded = map(lambda e: e.load(), filtered)
                                 ^^^^^^^^
        File "/opt/homebrew/Cellar/python@3.12/3.12.8/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/metadata/__init__.py", line 207, in load
          return functools.reduce(getattr, attrs, module)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'setuptools_scm.integration' has no attribute 'infer_version'
      
      Edit mplsetup.cfg to change the build options; suppress output with --quiet.
      
      BUILDING MATPLOTLIB
            python: yes [3.12.8 (main, Dec  3 2024, 18:42:41) [Clang 16.0.0
                        (clang-1600.0.26.4)]]
          platform: yes [darwin]
             tests: no  [skipping due to configuration]
            macosx: yes [installing]
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@kyakuno
Copy link
Collaborator

kyakuno commented Dec 26, 2025

casadiはtrajectoryのsolveに使用している。
nuscenes-devkitはdata_loaderの結果をnpzに保存してしまえば、単体テスト用には置き換えられそうな気もする。

@kyakuno
Copy link
Collaborator

kyakuno commented Dec 26, 2025

とはいえ、Linuxで動かすのが素直な気はする。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants